#ifndef __Bone_H__
#define __Bone_H__

#include "d3dheaders.h"
#include "video/Node.h"
#include <vector>

namespace KEngine
{

class Bone : public Node
{
public:
	Bone();
	virtual ~Bone();

	virtual void	update();

public:
	std::string		mParentName;
	D3DXMATRIX		mInitTM;
	D3DXMATRIX		mInverseInitTM;

	// assigned after optimize
	D3DXMATRIX		mTransform;
};

typedef std::vector<Bone*> BoneList;

}

#endif